@import "../../../assets/styles/varibles.scss";

.cover{
  position: relative;
  display: block;
  // height:140px;
  overflow: hidden;
  border-radius: $border-radius-base;
  img{
    height: 100%;
  }
  .bottom{
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: $black-color;
    color: $white-color;
    opacity: .8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 8px;
    .num{
      span{
        margin-left: 8px;
        vertical-align: text-bottom;
      }
    }
    .icon {
      display: inline-block;
      width: 1.1em;
      height: .8em;
      background: url('../../../assets/images/iconall.png') no-repeat;
      cursor: pointer;
      overflow: hidden;
      //vertical-align: middle;
      &.erji{
        background-position: 0 -24px;
      }
      &.play{
        width: 16px;
        height:17px;
        background-position: 0 0;
        &:hover{
          background-position: 0 -60px;
        }
      }
    }
  }
}
.dec{
  font-size: .8em;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -moz-box;
  -moz-line-clamp: 2;
  -moz-box-orient: vertical;
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal;  
}